package com.zwps.common.core.exception;

import com.zwps.common.core.exception.status.CommonExceptionStatus;

import lombok.Getter;

/**
 * feign调用出现的异常，将异常消息原样返回给最开始的调用方 用于将原始消息反回给客户端
 * 
 * @ClassName: FeignException
 * @Description:
 * @author lyh
 * @date 2023年8月16日 下午5:56:24
 *
 */
@Getter
public class FeignException extends AbstractCommonException {

    private static final long serialVersionUID = 1L;

    private final String exceptionMessage;

    public FeignException(String exceptionMessage) {
        this.exceptionMessage = exceptionMessage;
    }

    @Override
    public CommonExceptionStatus exceptionStatusEnum() {
        return null;
    }

}
